<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox-content">
                <input id="weixinMoney" name="weixinMoney" th:value="${agentRate.weixinFixedRate}" type="hidden">
                <input id="aliMoney" name="aliMoney" th:value="${agentRate.alipayFixedRate}" type="hidden">
                <input id="alipayMoney" name="alipayMoney" th:value="${agentRate.alipayTransferRate}" type="hidden">
                <input id="alipayAccountMoney" name="alipayAccountMoney" th:value="${agentRate.alipayAccountTransRate}" type="hidden">
                <form class="form-horizontal m-t" id="signupForm">
                    <input id="id" name="id" th:value="${rate.id}" type="hidden">
                    <input id="userId" name="userId" th:value="${userId}" type="hidden">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">微信固码(单位%)：</label>
                        <div class="col-sm-8">
                            <input id="weixinFixedRate" name="weixinFixedRate" onkeyup="num(this)"
                                   class="form-control" type="text" th:value="${rate.weixinFixedRate}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">支付宝固码(单位%)：</label>
                        <div class="col-sm-8">
                            <input id="alipayFixedRate" name="alipayFixedRate" onkeyup="num(this)"
                                   class="form-control" type="text" th:value="${rate.alipayFixedRate}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">支付宝转账(单位%)：</label>
                        <div class="col-sm-8">
                            <input id="alipayTransferRate" name="alipayTransferRate" onkeyup="num(this)"
                                   class="form-control" type="text" th:value="${rate.alipayTransferRate}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">支付宝账号或吱口令(单位%)：</label>
                        <div class="col-sm-8">
                            <input id="alipayAccountTransRate" name="alipayAccountTransRate" onkeyup="num(this)"
                                   class="form-control" type="text" th:value="${rate.alipayAccountTransRate}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">数字令牌：</label>
                        <div class="col-sm-8">
                            <input id="code" name="code" class="form-control" type="tel"
                                   placeholder="请输入数字令牌" maxlength="6">
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-8 col-sm-offset-3">
                            <button type="submit" class="btn btn-primary">提交</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/rate/edit.js">
</script>
</body>
</html>
